﻿/*
 * Created by SharpDevelop.
 * User: Administrator
 * Date: 2/15/2011
 * Time: 7:52 PM
 * 
 * To change this template use Tools | Options | Coding | Edit Standard Headers.
 */
using System;
using System.Collections;
using System.Collections.Generic;

namespace TomatoSynchronizer
{
	/// <summary>
	/// Description of SyncProfile.
	/// </summary>
	public partial class SyncProfile
	{
		private List<TomatoReplica> _replicas;
		
		private string _name;
		
		public string Name {
			get { return _name; }
			set { _name = value; }
		}
		
		public List<TomatoReplica> Replicas {
			get { return _replicas; }
			set { _replicas = value; }
		}
		
		private SyncDirection _direction;
		private Site _src;
		
		public Site Src {
			get { return _src; }
			set { _src = value; }
		}
		private Site _dest;
		
		public Site Dest {
			get { return _dest; }
			set { _dest = value; }
		}
		
		public SyncDirection Direction {
			get { return _direction; }
			set { _direction = value; }
		}
			
		public SyncProfile(string name)
		{			
			_name = name;
			_replicas = new List<TomatoReplica>();			
		}
	}
}
